package com.zzy.ecommerce.domain;

import java.util.Date;

public class TAccount {
    private Integer userid;

    private String username;

    public String getFirstpassword() {
        return firstpassword;
    }

    public void setFirstpassword(String firstpassword) {
        this.firstpassword = firstpassword;
    }

    private String firstpassword;
    private String password;

    private Double money;

    private Date registertime;

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Date getRegistertime() {
        return registertime;
    }

    public void setRegistertime(Date registertime) {
        this.registertime = registertime;
    }

    @Override
    public String toString() {
        return "TAccount{" +
                "userid=" + userid +
                ", username='" + username + '\'' +
                ", firstpassword='" + firstpassword + '\'' +
                ", password='" + password + '\'' +
                ", money=" + money +
                ", registertime=" + registertime +
                '}';
    }
}